ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.writer Namespace / TagTreeEncoder Class / TagTreeEncoder Constructor / TagTreeEncoder Constructor(Int32,Int32,Int32[])
The number of elements along the horizontal direction.
The number of elements along the vertical direction.
The values with which initialize the leafs of the tag tree.

In This Topic
    TagTreeEncoder Constructor(Int32,Int32,Int32[])
    In This Topic
    Creates a tag tree encoder with 'w' elements along the horizontal dimension and 'h' elements along the vertical direction. The total number of elements is thus 'vdim' x 'hdim'. The values of the leafs in the tag tree are initialized to the values of the 'val' array.

    The values in the 'val' array are supposed to appear in lexicographical order, starting at index 0.

    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal h As Integer, _
       ByVal w As Integer, _
       ByVal val() As Integer _
    )
    public TagTreeEncoder( 
       int h,
       int w,
       int[] val
    )

    Parameters

    h
    The number of elements along the horizontal direction.
    w
    The number of elements along the vertical direction.
    val
    The values with which initialize the leafs of the tag tree.
    See Also